package com.wk.springbootlearn.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wk.springbootlearn.pojo.entity.Team;
import com.wk.springbootlearn.pojo.form.GetTeamForm;
import com.wk.springbootlearn.pojo.form.TeamForm;

public interface TeamService {

    void createTeam(TeamForm teamForm, Long userId);

    void updateTeam(Long id, TeamForm teamForm, Long userId);

    IPage<Team> findTeam(GetTeamForm getTeamForm);

    void delTeam(Long id);
}
